package com.appbee.core.server.dao;

import javax.persistence.EntityManager;

import com.appbee.core.server.model.IFilter;
import com.google.inject.Inject;

public abstract class BaseFinder<T,F extends IFilter>
{
	protected EntityManager entityManager;
	
	public EntityManager getEntityManager()
	{
		return entityManager;
	}

	@Inject
	public void setEntityManager(EntityManager entityManager)
	{
		this.entityManager = entityManager;
	}
	
	public abstract Class<T> getEntityClass();

	
}
